﻿using System;
using Newtonsoft.Json;

namespace Looptribe.Moodlin8.Model
{
    public class GradeObject
    {
        public float? Grade { get; set; }

        public bool Locked { get; set; }
        public bool Hidden { get; set; }
        public bool Overridden { get; set; }

        public string Feedback { get; set; }
        public int FeedbackFormat { get; set; }

        public DateTime? DateSubmitted { get; set; }
        public DateTime? DateGraded { get; set; }

        [JsonProperty("str_grade")]
        public string StrGrade { get; set; }
        [JsonProperty("str_long_grade")]
        public string StrLongGrade { get; set; }
        [JsonProperty("str_feedback")]
        public string StrFeedback { get; set; }
    }
}
